/* 头部 */
header{
    height: 100px;
    width: 100%;
    border-bottom: 5px solid #5f91dc;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 5;
    background: #fff;
}
.headerTop{
    height: 40px;
    position: relative;
    padding-top: 10px;
    padding-bottom: 20px;
}
/* 顶部中间的logo图 */
.logo{
    width: 170px;
    height: 40px;
    position: absolute;
    margin-left: -85px;
    left: 50%;
}
.logo img{
    width: 170px;
    height: 40px;
}
/* 登陆注册那一块 */
.headerTop ul{
    width: 300px;
    height: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.headerTop ul a{
    color: #565656;
    font-size: 14px;
}
.headerTop i{
    margin-right: 8px;
    font-size: 20px;
}
.headerTop i:hover{
    color: #0077db;
}
.headerTop span{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #0077db;
    color: #fff;
    text-align: center;
    line-height: 20px;
    display: inline-block;
    margin-right: 5px;
}
/* 点击登录显示的块 */
.headerTop .login{
    position: absolute;
    width: 235px;
    height: 80px;
    border: 1px solid #ececec;
    bottom: -68px;
    right: 190px;
    display: none;
    // flex-direction: column;
    // justify-content: space-evenly;
    // align-items: center;
    background: #fff;
    z-index: 5;
    // opacity: 0;
}
.headerTop .login a{
    display: block;
    width: 190px;
    height: 28px;
    border: 1px solid deepskyblue;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    line-height: 28px;
    margin: 0 auto;
    margin-top: 7px;
}
.headerTop .login a:nth-child(1){
    background: #cccc;
    border-color: #ccc;
    color: #fff;
}
.headerTop .login a:nth-child(2){
    color: deepskyblue;
}
.headerTop .login a:nth-child(1):hover{
    background: #565656;
}
.headerTop .login a:nth-child(2):hover{
    background: #5f91dc;
    color: #fff;
}
/* 点击搜索显示的块 */
.search{
    position: absolute;
    height: 50px;
    width: 250px;
    border: 1px solid #ececec;
    bottom: -33px;
    right: 13px;
    background: #fff;
    z-index: 5;
    display: none; 
}
.search input{
    display: inline-block;
    box-sizing: border-box;
    outline: none;
    height: 35px;
    border: 1px solid #ececec;
    border-radius: 3px;
    margin-left: 16px;
    margin-top: 8px;
}
.search input:nth-child(1){
    width: 150px;
    box-sizing: border-box;
    padding-left: 10px;
}
.search input:nth-child(2){
    width: 50px;
    background: #5f91dc;
    color: #fff;
}
/* 导航条 */
.headerBottom{
    height: 20px;
    display: flex;
    justify-content: center;
}
.headerBottom ul{
    text-align: center;
}
.headerBottom a{
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    color: #565656;
}
.headerBottom a:hover{
    color: #5f91dc;
}